
import 'package:audioplayers/audioplayers.dart';

import '../util/utils.dart';

class PlayModel {
  PlayState playState;
  int totalDuration;
  int currentDuration;
  double completedPercentage;
  bool isSelected;
  String path;
  String title;

  String get totalText => Utils.getDateFromMill(totalDuration);
  String get currentText => Utils.getDateFromMill(currentDuration);
}

enum PlayState {
  isPlaying,
  isPause,
  isStop
}